package com.dg.acb.utils.task;

public class AsyncClient {
    private final NBExecutor mNBExecutor;
    public AsyncClient() {
        mNBExecutor = NBExecutor.newSinglePool();
    }

    protected void summitTask(Runnable run) {
        mNBExecutor.execute(run);;
    }

    public void close() {
        mNBExecutor.shutdown();
    }
}
